home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
programs
/
sphynx13.zip
/
ZIPTEST.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-04-30
|
705b
|
24 lines
@echo off
echo ┌─────────────────────────────────────────┐>gate1
echo │ Now Testing ZipFile Integrity, Standby. │>gate1
echo └─────────────────────────────────────────┘>gate1
pkunzip -t %1 > gate1
if errorlevel 1 goto failed
if errorlevel 0 goto passed
:failed
echo ┌────────────────────────────────┐>gate1
echo │ This ZipFile Has Errors In It! │>gate1
echo └────────────────────────────────┘>gate1
del %1
goto endendscan
:passed
echo ┌──────────────────────┐>gate1
echo │ ZipFile Passed Test! │>gate1
echo └──────────────────────┘>gate1
:endtest
cd\sphynx
echo Adding Zip Comment...>gate1
pkzip -z %1 < c:\arc\ad.txt
echo Zip Comment Added ...>gate1
:endendscan